﻿using System;

public class Protocol
{
    public const int HeartBeat = 20000;//心跳

    public const int Login_CMD = 10000;//登陆和注册
    public const int Register_CMD = 10001;

    public const int PlayerMove_CMD = 10002;//移动和死亡
    public const int PlayerDead_CMD = 10003;

    public const int SelfLogin_CMD = 10010;//自身登陆

    public const int PlayerPosition_CMD = 10011;//位置和退出
    public const int PlayerLogOut_CMD = 10012;

    public const int PlayerFire_CMD = 10013;//开火和受伤
    public const int PlayerOnHit_CMD = 10014;

    public const int PlayerRepeatExit_CMD = 10015;//用户已存在

    public const int PlayerReady_CMD = 10016;
    public const int ReadyGoToGame_CMD = 10017;//全部准备，进入游戏
    public const int OtherPlayerInfo_CMD = 10018;

    public const int PlayerWin_CMD = 10019;//玩家最终胜利

}
